package com.xjc.system.exception;

import lombok.Data;

/**
 * 徐锦程
 * 时间:2024-10-01 15:39
 * 描述:自定义异常类
 */
@Data
public class MyException extends RuntimeException {
    private int code;

    public MyException(int code, String message) {
        super(message);
        this.code = code;
    }

}
